package com.letoy.study.entity;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseInfo {

  @ApiModelProperty(value = "课程ID", example = "1", dataType = "int")
  private long courseId;
  @ApiModelProperty(value = "课程名称", example = "Java入门", dataType = "String")
  private String courseName;
  @ApiModelProperty(value = "课程类型", example = "后端课程", dataType = "String")
  private String courseType;
  @ApiModelProperty(value = "课程视频地址", example = "", dataType = "String")
  private String courseVideoUrl;
  @ApiModelProperty(value = "课程描述", example = "java入门", dataType = "String")
  private String courseDescribe;
  @ApiModelProperty(value = "课程浏览量", example = "200", dataType = "String")
  private String courseViews;
  @ApiModelProperty(value = "课程作者ID", example = "1", dataType = "long")
  private long userId;
  @ApiModelProperty(value = "课程评论集编号", example = "1", dataType = "long")
  private long courseCommentId;
  @ApiModelProperty(value = "课程发布时间", example = "", dataType = "java.sql.Timestamp")
  private java.sql.Timestamp coursePublishTime;

}
